Optimal. Leaf size=126 \[ -\frac {3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac {11 \sqrt [6]{2} \cos (e+f x) \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {3}{2};\frac {1}{2} (1-\sin (e+f x))\right )}{15 f \sqrt [6]{1+\sin (e+f x)} \sqrt [3]{a+a \sin (e+f x)}}+\frac {4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 126, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2791, 2934,
2731, 2730} \begin {gather*} \frac {11 \sqrt [6]{2} \cos (e+f x) \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {3}{2};\frac {1}{2} (1-\sin (e+f x))\right )}{15 f \sqrt [6]{\sin (e+f x)+1} \sqrt [3]{a \sin (e+f x)+a}}+\frac {4 \sec (e+f x) (a \sin (e+f x)+a)^{2/3}}{5 a f}-\frac {3 \sec (e+f x)}{5 f \sqrt [3]{a \sin (e+f x)+a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2730
Rule 2731
Rule 2791
Rule 2934
Rubi steps
\begin {align*} \int \frac {\tan ^2(e+f x)}{\sqrt [3]{a+a \sin (e+f x)}} \, dx &=-\frac {3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac {3 \int \sec ^2(e+f x) (a+a \sin (e+f x))^{2/3} \left (-\frac {a}{3}+\frac {5}{3} a \sin (e+f x)\right ) \, dx}{5 a^2}\\ &=-\frac {3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac {4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f}-\frac {11}{15} \int \frac {1}{\sqrt [3]{a+a \sin (e+f x)}} \, dx\\ &=-\frac {3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac {4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f}-\frac {\left (11 \sqrt [3]{1+\sin (e+f x)}\right ) \int \frac {1}{\sqrt [3]{1+\sin (e+f x)}} \, dx}{15 \sqrt [3]{a+a \sin (e+f x)}}\\ &=-\frac {3 \sec (e+f x)}{5 f \sqrt [3]{a+a \sin (e+f x)}}+\frac {11 \sqrt [6]{2} \cos (e+f x) \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {3}{2};\frac {1}{2} (1-\sin (e+f x))\right )}{15 f \sqrt [6]{1+\sin (e+f x)} \sqrt [3]{a+a \sin (e+f x)}}+\frac {4 \sec (e+f x) (a+a \sin (e+f x))^{2/3}}{5 a f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.34, size = 100, normalized size = 0.79 \begin {gather*} \frac {-22 \cos (e+f x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\sin ^2\left (\frac {1}{4} (2 e+\pi +2 f x)\right )\right )+\sqrt {2-2 \sin (e+f x)} (\sec (e+f x)+4 \tan (e+f x))}{5 f \sqrt {2-2 \sin (e+f x)} \sqrt [3]{a (1+\sin (e+f x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.14, size = 0, normalized size = 0.00 \[\int \frac {\tan ^{2}\left (f x +e \right )}{\left (a +a \sin \left (f x +e \right )\right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tan ^{2}{\left (e + f x \right )}}{\sqrt [3]{a \left (\sin {\left (e + f x \right )} + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {tan}\left (e+f\,x\right )}^2}{{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________